﻿<%@ Control Language="C#" CodeBehind="corpmanagerList.ascx.cs" Inherits="uswinweb.datacontrol.corpmanagerList" %>
<table border="0" cellpadding="0" cellspacing="0" class="edtb">
	<thead>
		<tr>
        <td width="50px"><input type="checkbox" name="chkall" value="checkbox" id ="chkall" onclick="CheckAll(this.form,'ids');"/></td>
			<td>用户名</td>
			<td>中文名</td>
            <td>英文名</td>
            <td>对应公司</td>
            <td>管理级别</td>
            <td>操作</td>
		</tr>
	</thead>
	<tbody>
    <%foreach (System.Data.DataRow dr in dataDT.Rows)
        { %>
        <tr>
        <td><input type="checkbox" name="ids" value="<%=dr["cid"].ToString() + "_" + dr["uid"].ToString()%>" id="ids"/></td>
			<td>&nbsp;<%=dr["lname"]%>&nbsp;</td>
            <td>&nbsp;<%=dr["rname"]%>&nbsp;</td>
            <td>&nbsp;<%=dr["ename"]%>&nbsp;</td>
            <td>&nbsp;<%=dr["cname"]%>&nbsp;</td>
            <td><%=dr["uid"].ToString()==dr["manager"].ToString()?"超级管理员":"普通管理员"%></td>
			<td>
				<a href="../admin/pop_corpmanager_set.aspx?cid=<%=dr["cid"]%>&uid=<%=dr["uid"]%>" rel="iframe" title="<%=dr["lname"]%>权限设置 :: :: width:700,height:600" class="l_blue lightview">设置</a>
				<a title="" class="l_blue" href="#" onclick="del('<%=dr["cid"].ToString() + "_" + dr["uid"].ToString() %>')">删除</a>
			</td>
		</tr>
    <%} %>
	</tbody>
    <tfoot>
	    <tr>
		    <td colspan="15">
			    <%=PageListStr%>
		    </td>
	    </tr>
    </tfoot>
</table>